﻿#ifndef MYBOOK_H
#define MYBOOK_H
#include <QString>


class myBook
{
public:
    myBook(QString name,QString id,QString author,QString publicData,QString press,QString count);

    void setName(QString name);
    void setId(QString id);
    void setAuthor(QString author);
    void setPublicData(QString publicdata);
    void setPress(QString press);
    void setCount(QString count);

    QString getName();
    QString getId();
    QString getAuthor();
    QString getPublicData();
    QString getPress();
    QString getCount();

private:
    QString m_name;
    QString m_id;
    QString m_author;
    QString m_publicData;
    QString m_press;
    QString m_count;
};

#endif // MYBOOK_H
